import json

with open("header.txt", "r") as f_r:
    # print(f_r.readlines())
    h = f_r.readlines()
    headers = {}
    for line in h:
        lines = line.split("\t")
        if len(lines) == 2:
            headers.update({
                lines[0].strip(): lines[1].strip()
            })

    print(json.dumps(headers, ensure_ascii=False, indent=4))
